<table>
  <thead>
    <tr>
      <td>Name</td>
      <td>Birthday</td>
      <td>Address</td>
      <td>Cellphone</td>
      <td>Email</td>
      <td></td>
      <td></td>
    </tr>
  </thead>
  <tbody>
    <tr class="row-template">
      <td class="name"></td>
      <td class="bday"></td>
      <td class="address"></td>
      <td class="cellPhone"></td>
      <td class="eMail"></td>
      <td><a class="edit-client" href="javascript:void(0)">edit</a></td>
      <td><a class="delete-client" href="javascript:void(0)">delete</a></td>
    </tr>
  </tbody>
</table>
<script>
  
  $('#clients').live('click',function(){
     views.get('clientView').open();
  });
  
  views.get('clientView').onViewOpen = function(){
     client.view(function(response){
      if(response.success == 'true'){
        var clients = response.result.clients;
        views.get('clientView').fill('row-template', clients);
      }
    });
  };
</script>